package com.glance.browser.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import com.glance.browser.domain.KnowledgeClass;

@Transactional(readOnly = true)
public interface KnowledgeClassRepository extends JpaRepository<KnowledgeClass, Long> {

	List<KnowledgeClass> findByTitle(String title);

	List<KnowledgeClass> findByOwner(String username);

}
